﻿#pragma once
#pragma execution_character_set("utf-8")

#include "linearcalculation_global.h"
#include "maininterface.h"
#include "qdialog.h"
#include "QToolBase.h"

class LINEARCALCULATION_EXPORT LinearCalculation
	: public QObject
	, public MainInterface
{
	Q_OBJECT
		Q_INTERFACES(MainInterface)
		Q_PLUGIN_METADATA(IID MainInterface_iid)

public:
	LinearCalculation();

	virtual QString name() override;
	virtual QString information() override;
};

extern "C" Q_DECL_EXPORT QDialog * showDialog(QString toolName, QToolBase * toolBase);

extern "C" Q_DECL_EXPORT int ShowFormState();

extern "C" Q_DECL_EXPORT void SetFormState();
